import { BASE_URL, MUSIC_REQUEST } from './config'
import axios from 'axios'

/**
 * 网络检测
 */
export function checkNetwork () {
  const url = `${BASE_URL}/${MUSIC_REQUEST}/checknetwork`
  return axios.post(url).then(res => {
    return Promise.resolve(res.data)
  })
}
